package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 订单商品对象 shanglala_order_product
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class OrderProduct
{
    private static final long serialVersionUID = 1L;

    /** 订单商品id */
    private Long pigcmsId;

    /** 订单id */
    @Excel(name = "订单id")
    private Integer orderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 库存id */
    @Excel(name = "库存id")
    private Integer skuId;

    /** 商品版本 */
    @Excel(name = "商品版本")
    private Integer productVersion;

    /** sku版本 */
    @Excel(name = "sku版本")
    private Integer skuVersion;

    /** 库存信息 */
    @Excel(name = "库存信息")
    private String skuData;

    /** 数量 */
    @Excel(name = "数量")
    private Integer proNum;

    /** 购买时商品的价格 */
    @Excel(name = "购买时商品的价格")
    private BigDecimal proPrice;

    /** 购买时的产品成本价 */
    @Excel(name = "购买时的产品成本价")
    private BigDecimal proCostPrice;

    /** 是否是原价，1：是，0：否 */
    @Excel(name = "是否是原价，1：是，0：否")
    private Integer isOriginalPrice;

    /** 当为预售订单商品时，此为购买商品原价 */
    @Excel(name = "当为预售订单商品时，此为购买商品原价")
    private BigDecimal presaleProPrice;

    /** 每一个产品的重量，单位：克 */
    @Excel(name = "每一个产品的重量，单位：克")
    private BigDecimal proWeight;

    /** 会员特权，额外赠送积分 */
    @Excel(name = "会员特权，额外赠送积分")
    private Integer point;

    /** 会员等级特权享受的折扣，优先于等级折扣，0表示没有特权折扣 */
    @Excel(name = "会员等级特权享受的折扣，优先于等级折扣，0表示没有特权折扣")
    private BigDecimal discount;

    /** 买家留言 */
    @Excel(name = "买家留言")
    private String comment;

    /** 是否已打包 0未打包 1已打包 */
    @Excel(name = "是否已打包 0未打包 1已打包")
    private Integer isPackaged;

    /** 在包裹里的状态 0未发货 1已发货 2已到店 3已签收 */
    @Excel(name = "在包裹里的状态 0未发货 1已发货 2已到店 3已签收")
    private Integer inPackageStatus;

    /** 分销商品 0否 1是 */
    @Excel(name = "分销商品 0否 1是")
    private Integer isFx;

    /** 供货商id */
    @Excel(name = "供货商id")
    private Long supplierId;

    /** 源商品id */
    @Excel(name = "源商品id")
    private Long originalProductId;

    /** 用户订单id */
    @Excel(name = "用户订单id")
    private Long userOrderId;

    /** 是否已评论，1：是，0：否 */
    @Excel(name = "是否已评论，1：是，0：否")
    private Integer isComment;

    /** 产品退款状态，0：未退款，1：部分退款，2：全部退完 */
    @Excel(name = "产品退款状态，0：未退款，1：部分退款，2：全部退完")
    private Integer returnStatus;

    /** 产品维权状态，0：未维权，1：部分维权，2：全部维权 */
    @Excel(name = "产品维权状态，0：未维权，1：部分维权，2：全部维权")
    private Integer rightsStatus;

    /** 是否为赠品，1：是，0：否 */
    @Excel(name = "是否为赠品，1：是，0：否")
    private Integer isPresent;

    /** 门店id */
    @Excel(name = "门店id")
    private Long spId;

    /** 分销单件商品利润 */
    @Excel(name = "分销单件商品利润")
    private BigDecimal profit;

    /** 分销商等级利润 */
    @Excel(name = "分销商等级利润")
    private BigDecimal drpDegreeProfit;

    /** 购买返积分 */
    @Excel(name = "购买返积分")
    private BigDecimal returnPoint;

    /** 订单产品类型，0：普通，1：团购，2：预售 */
    @Excel(name = "订单产品类型，0：普通，1：团购，2：预售")
    private Integer type;

    /** 团购、预售类型时的团购、预售ID */
    @Excel(name = "团购、预售类型时的团购、预售ID")
    private Long dataId;

    /** 关注后的折扣 */
    @Excel(name = "关注后的折扣")
    private BigDecimal subscribedDiscount;

    /** 分销等级折扣 */
    @Excel(name = "分销等级折扣")
    private BigDecimal wholesaleDegreeDiscount;

    /** 实物批发优惠详细 */
    @Excel(name = "实物批发优惠详细")
    private String wholesaleDiscount;

    /** 是否下单减库存 0 否 1 是 */
    @Excel(name = "是否下单减库存 0 否 1 是")
    private Integer orderedMinusStock;

    /** 预约是否减库存 0 否 1 是 */
    @Excel(name = "预约是否减库存 0 否 1 是")
    private Integer reservationMinusStock;

    /** 已分配到门店数量 */
    @Excel(name = "已分配到门店数量")
    private Integer assigned;

    /** 是否为凑单商品 */
    @Excel(name = "是否为凑单商品")
    private Integer isCoudan;

    /** 满减送活动id */
    @Excel(name = "满减送活动id")
    private Long rewardId;

    /** 兑换积分 */
    @Excel(name = "兑换积分")
    private Long pointExchangeNum;

    /** 扫码优惠信息 */
    @Excel(name = "扫码优惠信息")
    private String scanCodeReward;

    /** 秤码 */
    @Excel(name = "秤码")
    private Integer steelyardCode;

    /** 称重金额 */
    @Excel(name = "称重金额")
    private BigDecimal amount;

    /** 商品分润信息 */
    @Excel(name = "商品分润信息")
    private String orderProductInfo;

    /** 是否礼包商品 0否 1是 */
    @Excel(name = "是否礼包商品 0否 1是")
    private Integer isGiftProduct;

    /** 分享用户 uid */
    @Excel(name = "分享用户 uid")
    private Long friend;

    /** 下单时的商品供货价（仅代理商品时有用） */
    @Excel(name = "下单时的商品供货价", readConverterExp = "仅=代理商品时有用")
    private BigDecimal supplyPrice;

    /** 是否享受会员价，0没有享受，1是享受折扣会员价，2是享受独立商品规格会员价; */
    @Excel(name = "是否享受会员价，0没有享受，1是享受折扣会员价，2是享受独立商品规格会员价;")
    private Integer isVip;

    /** 当享受的是折扣会员价时，该值是享受的具体折扣 */
    @Excel(name = "当享受的是折扣会员价时，该值是享受的具体折扣")
    private BigDecimal vipDiscount;

    /** 享受会员价之前的价格 */
    @Excel(name = "享受会员价之前的价格")
    private BigDecimal isVipBeforePrice;

    /** 是否为供货大厅直接跳转商品详情，按供货价购买下单；0不是，1是 */
    @Excel(name = "是否为供货大厅直接跳转商品详情，按供货价购买下单；0不是，1是")
    private Integer isSupplyPlatform;

    /** 是否定时导入的假数据 */
    @Excel(name = "是否定时导入的假数据")
    private Integer isAddFalse;

    public void setPigcmsId(Long pigcmsId) 
    {
        this.pigcmsId = pigcmsId;
    }

    public Long getPigcmsId() 
    {
        return pigcmsId;
    }
    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setSkuId(Integer skuId) 
    {
        this.skuId = skuId;
    }

    public Integer getSkuId() 
    {
        return skuId;
    }
    public void setProductVersion(Integer productVersion) 
    {
        this.productVersion = productVersion;
    }

    public Integer getProductVersion() 
    {
        return productVersion;
    }
    public void setSkuVersion(Integer skuVersion) 
    {
        this.skuVersion = skuVersion;
    }

    public Integer getSkuVersion() 
    {
        return skuVersion;
    }
    public void setSkuData(String skuData) 
    {
        this.skuData = skuData;
    }

    public String getSkuData() 
    {
        return skuData;
    }
    public void setProNum(Integer proNum) 
    {
        this.proNum = proNum;
    }

    public Integer getProNum() 
    {
        return proNum;
    }
    public void setProPrice(BigDecimal proPrice) 
    {
        this.proPrice = proPrice;
    }

    public BigDecimal getProPrice() 
    {
        return proPrice;
    }
    public void setProCostPrice(BigDecimal proCostPrice) 
    {
        this.proCostPrice = proCostPrice;
    }

    public BigDecimal getProCostPrice() 
    {
        return proCostPrice;
    }
    public void setIsOriginalPrice(Integer isOriginalPrice) 
    {
        this.isOriginalPrice = isOriginalPrice;
    }

    public Integer getIsOriginalPrice() 
    {
        return isOriginalPrice;
    }
    public void setPresaleProPrice(BigDecimal presaleProPrice) 
    {
        this.presaleProPrice = presaleProPrice;
    }

    public BigDecimal getPresaleProPrice() 
    {
        return presaleProPrice;
    }
    public void setProWeight(BigDecimal proWeight) 
    {
        this.proWeight = proWeight;
    }

    public BigDecimal getProWeight() 
    {
        return proWeight;
    }
    public void setPoint(Integer point) 
    {
        this.point = point;
    }

    public Integer getPoint() 
    {
        return point;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setIsPackaged(Integer isPackaged) 
    {
        this.isPackaged = isPackaged;
    }

    public Integer getIsPackaged() 
    {
        return isPackaged;
    }
    public void setInPackageStatus(Integer inPackageStatus) 
    {
        this.inPackageStatus = inPackageStatus;
    }

    public Integer getInPackageStatus() 
    {
        return inPackageStatus;
    }
    public void setIsFx(Integer isFx) 
    {
        this.isFx = isFx;
    }

    public Integer getIsFx() 
    {
        return isFx;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setOriginalProductId(Long originalProductId) 
    {
        this.originalProductId = originalProductId;
    }

    public Long getOriginalProductId() 
    {
        return originalProductId;
    }
    public void setUserOrderId(Long userOrderId) 
    {
        this.userOrderId = userOrderId;
    }

    public Long getUserOrderId() 
    {
        return userOrderId;
    }
    public void setIsComment(Integer isComment) 
    {
        this.isComment = isComment;
    }

    public Integer getIsComment() 
    {
        return isComment;
    }
    public void setReturnStatus(Integer returnStatus) 
    {
        this.returnStatus = returnStatus;
    }

    public Integer getReturnStatus() 
    {
        return returnStatus;
    }
    public void setRightsStatus(Integer rightsStatus) 
    {
        this.rightsStatus = rightsStatus;
    }

    public Integer getRightsStatus() 
    {
        return rightsStatus;
    }
    public void setIsPresent(Integer isPresent) 
    {
        this.isPresent = isPresent;
    }

    public Integer getIsPresent() 
    {
        return isPresent;
    }
    public void setSpId(Long spId) 
    {
        this.spId = spId;
    }

    public Long getSpId() 
    {
        return spId;
    }
    public void setProfit(BigDecimal profit) 
    {
        this.profit = profit;
    }

    public BigDecimal getProfit() 
    {
        return profit;
    }
    public void setDrpDegreeProfit(BigDecimal drpDegreeProfit) 
    {
        this.drpDegreeProfit = drpDegreeProfit;
    }

    public BigDecimal getDrpDegreeProfit() 
    {
        return drpDegreeProfit;
    }
    public void setReturnPoint(BigDecimal returnPoint) 
    {
        this.returnPoint = returnPoint;
    }

    public BigDecimal getReturnPoint() 
    {
        return returnPoint;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setSubscribedDiscount(BigDecimal subscribedDiscount) 
    {
        this.subscribedDiscount = subscribedDiscount;
    }

    public BigDecimal getSubscribedDiscount() 
    {
        return subscribedDiscount;
    }
    public void setWholesaleDegreeDiscount(BigDecimal wholesaleDegreeDiscount) 
    {
        this.wholesaleDegreeDiscount = wholesaleDegreeDiscount;
    }

    public BigDecimal getWholesaleDegreeDiscount() 
    {
        return wholesaleDegreeDiscount;
    }
    public void setWholesaleDiscount(String wholesaleDiscount) 
    {
        this.wholesaleDiscount = wholesaleDiscount;
    }

    public String getWholesaleDiscount() 
    {
        return wholesaleDiscount;
    }
    public void setOrderedMinusStock(Integer orderedMinusStock) 
    {
        this.orderedMinusStock = orderedMinusStock;
    }

    public Integer getOrderedMinusStock() 
    {
        return orderedMinusStock;
    }
    public void setReservationMinusStock(Integer reservationMinusStock) 
    {
        this.reservationMinusStock = reservationMinusStock;
    }

    public Integer getReservationMinusStock() 
    {
        return reservationMinusStock;
    }
    public void setAssigned(Integer assigned) 
    {
        this.assigned = assigned;
    }

    public Integer getAssigned() 
    {
        return assigned;
    }
    public void setIsCoudan(Integer isCoudan) 
    {
        this.isCoudan = isCoudan;
    }

    public Integer getIsCoudan() 
    {
        return isCoudan;
    }
    public void setRewardId(Long rewardId) 
    {
        this.rewardId = rewardId;
    }

    public Long getRewardId() 
    {
        return rewardId;
    }
    public void setPointExchangeNum(Long pointExchangeNum) 
    {
        this.pointExchangeNum = pointExchangeNum;
    }

    public Long getPointExchangeNum() 
    {
        return pointExchangeNum;
    }
    public void setScanCodeReward(String scanCodeReward) 
    {
        this.scanCodeReward = scanCodeReward;
    }

    public String getScanCodeReward() 
    {
        return scanCodeReward;
    }
    public void setSteelyardCode(Integer steelyardCode) 
    {
        this.steelyardCode = steelyardCode;
    }

    public Integer getSteelyardCode() 
    {
        return steelyardCode;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setOrderProductInfo(String orderProductInfo) 
    {
        this.orderProductInfo = orderProductInfo;
    }

    public String getOrderProductInfo() 
    {
        return orderProductInfo;
    }
    public void setIsGiftProduct(Integer isGiftProduct) 
    {
        this.isGiftProduct = isGiftProduct;
    }

    public Integer getIsGiftProduct() 
    {
        return isGiftProduct;
    }
    public void setFriend(Long friend) 
    {
        this.friend = friend;
    }

    public Long getFriend() 
    {
        return friend;
    }
    public void setSupplyPrice(BigDecimal supplyPrice) 
    {
        this.supplyPrice = supplyPrice;
    }

    public BigDecimal getSupplyPrice() 
    {
        return supplyPrice;
    }
    public void setIsVip(Integer isVip) 
    {
        this.isVip = isVip;
    }

    public Integer getIsVip() 
    {
        return isVip;
    }
    public void setVipDiscount(BigDecimal vipDiscount) 
    {
        this.vipDiscount = vipDiscount;
    }

    public BigDecimal getVipDiscount() 
    {
        return vipDiscount;
    }
    public void setIsVipBeforePrice(BigDecimal isVipBeforePrice) 
    {
        this.isVipBeforePrice = isVipBeforePrice;
    }

    public BigDecimal getIsVipBeforePrice() 
    {
        return isVipBeforePrice;
    }
    public void setIsSupplyPlatform(Integer isSupplyPlatform) 
    {
        this.isSupplyPlatform = isSupplyPlatform;
    }

    public Integer getIsSupplyPlatform() 
    {
        return isSupplyPlatform;
    }
    public void setIsAddFalse(Integer isAddFalse) 
    {
        this.isAddFalse = isAddFalse;
    }

    public Integer getIsAddFalse() 
    {
        return isAddFalse;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pigcmsId", getPigcmsId())
            .append("orderId", getOrderId())
            .append("productId", getProductId())
            .append("skuId", getSkuId())
            .append("productVersion", getProductVersion())
            .append("skuVersion", getSkuVersion())
            .append("skuData", getSkuData())
            .append("proNum", getProNum())
            .append("proPrice", getProPrice())
            .append("proCostPrice", getProCostPrice())
            .append("isOriginalPrice", getIsOriginalPrice())
            .append("presaleProPrice", getPresaleProPrice())
            .append("proWeight", getProWeight())
            .append("point", getPoint())
            .append("discount", getDiscount())
            .append("comment", getComment())
            .append("isPackaged", getIsPackaged())
            .append("inPackageStatus", getInPackageStatus())
            .append("isFx", getIsFx())
            .append("supplierId", getSupplierId())
            .append("originalProductId", getOriginalProductId())
            .append("userOrderId", getUserOrderId())
            .append("isComment", getIsComment())
            .append("returnStatus", getReturnStatus())
            .append("rightsStatus", getRightsStatus())
            .append("isPresent", getIsPresent())
            .append("spId", getSpId())
            .append("profit", getProfit())
            .append("drpDegreeProfit", getDrpDegreeProfit())
            .append("returnPoint", getReturnPoint())
            .append("type", getType())
            .append("dataId", getDataId())
            .append("subscribedDiscount", getSubscribedDiscount())
            .append("wholesaleDegreeDiscount", getWholesaleDegreeDiscount())
            .append("wholesaleDiscount", getWholesaleDiscount())
            .append("orderedMinusStock", getOrderedMinusStock())
            .append("reservationMinusStock", getReservationMinusStock())
            .append("assigned", getAssigned())
            .append("isCoudan", getIsCoudan())
            .append("rewardId", getRewardId())
            .append("pointExchangeNum", getPointExchangeNum())
            .append("scanCodeReward", getScanCodeReward())
            .append("steelyardCode", getSteelyardCode())
            .append("amount", getAmount())
            .append("orderProductInfo", getOrderProductInfo())
            .append("isGiftProduct", getIsGiftProduct())
            .append("friend", getFriend())
            .append("supplyPrice", getSupplyPrice())
            .append("isVip", getIsVip())
            .append("vipDiscount", getVipDiscount())
            .append("isVipBeforePrice", getIsVipBeforePrice())
            .append("isSupplyPlatform", getIsSupplyPlatform())
            .append("isAddFalse", getIsAddFalse())
            .toString();
    }
}
